package webService.util;

import java.util.UUID;

public class JetonRetour {

	private String uuidRequete;
	private String urlRedirection;
	public JetonRetour(String uuidRequete, String urlRedirection) {
		super();
		this.uuidRequete = uuidRequete;
		this.urlRedirection = urlRedirection;
	}
	public JetonRetour(String urlRedirection) {
		super();
		this.urlRedirection = urlRedirection;
		this.uuidRequete = UUID.randomUUID().toString();
		
	}
	
	public JetonRetour() {
		this.uuidRequete = UUID.randomUUID().toString();
	}
	
	public String getUuidRequete() {
		return uuidRequete;
	}
	public void setUuidRequete(String uuidRequete) {
		this.uuidRequete = uuidRequete;
	}
	public String getUrlRedirection() {
		return urlRedirection;
	}
	public void setUrlRedirection(String urlRedirection) {
		this.urlRedirection = urlRedirection;
	}
	
	
	
}
